﻿using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace EiiF_Blog
{
    public class BlogNews:BaseId
    {
        [SugarColumn(ColumnDataType ="nvarchar(25)")]
        public string Title { get; set; }

        [SugarColumn(ColumnDataType ="text")]
        public string content { get; set; }

        public DateTime Time { get; set; }

        //访问量
        public int LookNumber { get; set; }

        //点赞量
        public int ZanNumber { get; set; }

        public int TypeId { get; set; }

        public int AuthorId { get; set; }

        [SugarColumn(IsIgnore = true)]
        public Type type { get; set; }

        [SugarColumn(IsIgnore =true)]
        public Author author { get; set; }
    }
}
